package com.zlm.user.emp.service.impl;

import com.zlm.common.base.AbstractBaseService;
import com.zlm.common.entity.EmpPositionApplyDO;
import com.zlm.user.emp.dao.EmpPositionApplyDao;
import com.zlm.user.emp.service.EmpPositionApplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: duyufu
 * @Date: 2019/5/13 13:51
 */
@Service
public class EmpPositionApplyServiceImpl extends AbstractBaseService<EmpPositionApplyDao, EmpPositionApplyDO> implements EmpPositionApplyService {

    @Autowired
    @Override
    public void setBaseDao(EmpPositionApplyDao empPositionApplyDao) {
        this.baseDao = empPositionApplyDao;
    }

    @Override
    public Integer countPartnerPost(Integer empId, Integer status) {
        return baseDao.countPartnerPost(empId,status);
    }
}
